package IC.Parser;

public class SyntaxError extends Exception {
	
	
	
	private String value;
	private int line;
	
	public SyntaxError(String value,int line)	{
		this.value = value;
		this.line = line;
	}
	
	
	public String toString() {
		return line + " : syntax error occured while parsing the token " + value;
	}
	
	
	
}
